

@echo off
set aa = 123456
set cmdstr = echo %aa%

call %cmdstr%
pause